package com.xmy.cultivate.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;

@Getter
public enum QuarterEnum {

    ZERO(0,""),
    ONE(1,"寒假班"),
    TWO(2,"春季班"),
    THREE(3,"暑假班"),
    Four(4,"秋季班");

    @EnumValue
    private Integer key;

    @JsonValue
    private String value;

    QuarterEnum(Integer key, String value){
        this.key = key;
        this.value = value;
    }
}
